<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Query.aspx.cs" Inherits="BaseSystem.Query" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>

    <link href="_System/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:left;">
            <asp:Label ID="Label1" runat="server" Font-Names="Arial" Font-Size="24pt" Text="XXXX Query"></asp:Label><br />
            <br />
            <div  style="background-color:#e6e6fa; width:705px;" >
            
                <br />
            Search<br />
            
            <table cellpadding="0" cellspacing="0" border="1" style="width: 705px">

                <tr>
                    <td style="width: 100px; text-align: right;">
                        Query1 :<select size="1" name="noise">
								<option value="1">Very High</option><option value="2">High</option><option selected value="3">Medium</option><option value="4">Low</option><option value="5">Very Low</option>
							</select></td>
                    <td colspan="4">
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 100px; text-align: right;">
                        Query2 :</td>
                    <td colspan="4">
                        <asp:TextBox ID="txtDesc" runat="server" TextMode="MultiLine" Width="574px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="text-align: center; height: 26px;" colspan="5">
                        <asp:Button ID="btnQuery" runat="server" Text="Query" 
                             /></td>
                </tr>
            </table>
                <br />
                </div>
            <br />
            <asp:GridView ID="gvTest" runat="server" AllowPaging="True" AllowSorting="True"
                AutoGenerateColumns="False" 
                 Width="705px" PageSize="15" CssClass="GridViewStyle">
                <FooterStyle CssClass="GridViewFooterStyle" />
                <RowStyle  CssClass="GridViewRowStyle" />
                <EditRowStyle CssClass="GridViewEditRowStyle" />
                <SelectedRowStyle  CssClass="GridViewSelectedRowStyle" />
                <PagerStyle CssClass="GridViewPagerStyle" />
                <HeaderStyle CssClass="GridViewHeaderStyle" />
                <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                <Columns>
                    <asp:BoundField DataField="RecID" HeaderText="Field1" SortExpression="Field1">
                        <ItemStyle Width="70px" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="Field2" >
                        <ItemTemplate >
                            <asp:Label ID="Label1"  runat="server" Text="Field2" Font-Strikeout="False"></asp:Label>
                        </ItemTemplate>
                        <ItemStyle Width="300px" />
                    </asp:TemplateField>
                    <asp:BoundField DataField="SysID" HeaderText="Field3" SortExpression="Field3">
                        <ItemStyle Width="70px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="SysName" HeaderText="Field4">
                        <ItemStyle Width="170px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Note" HeaderText="Field5" SortExpression="Field5">
                        <ItemStyle Width="70px" />
                    </asp:BoundField>
                    <asp:CheckBoxField HeaderText="Check" />
                    <asp:TemplateField HeaderText="Check">
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <PagerSettings Mode="NumericFirstLast" />
                
                <EmptyDataTemplate>
                    NO DATA!
                </EmptyDataTemplate>
                

                
            </asp:GridView>
            &nbsp;&nbsp;<br />
            &nbsp;
        </div>
    </form>
</body>
</html>
